@import "@/style/table.scss";
.cup {
    cursor: pointer;
}

.el-input {
    input {
        // color: #cbcbcb !important;
        &::-webkit-input-placeholder {
            color: #cbcbcb !important;
        }
    }
}

.ivu-input-wrapper,
.ivu-select {
    input {
        // color: #cbcbcb !important;
        &::-webkit-input-placeholder {
            color: #cbcbcb !important;
        }
    }
}

// ps：兼容12px字体样式的一些改动(iview4.x默认字体为14px,3.x为12px，此处css是为了兼容4.x使用12px时的个别样式)
// 左侧菜单样式（字体等）
.ivu-menu {
    font-size: 14px !important;
    .ivu-menu-item {
        font-size: 14px !important;
    }
}

// colorPicker开启transfer样式
.ivu-color-picker-transfer.ivu-select-dropdown {
    width: 256px !important
}

// 正常动画
.animate__normal {
    animation-duration: 1.2s;
}

// message提示样式
.ivu-message {
    z-index: 999999 !important;
    font-size: 14px !important;
    .ivu-icon {
        font-size: 16px !important
    }
}

// element级联
.el-cascader {
    width: 100%;
}

@for $i from 1 through 100 {}

.content-wrapper {
    &>div:nth-child(2) {
        min-height: calc(100vh - 178px);
    }
}

html body {
    // color: #183A66;
    font-family: 'pingfang SC';
}

.page-content-login {
    max-width: 1000px;
    min-width: 800px;
    width: 100%;
}

.ivu-radio-group-default {
    display: flex !important;
    align-items: center !important;
}

// 拖拽样式兼容
.vdr {
    border: none !important;
}

// 多选样式(兼容iview4.x)
.ivu-select-multiple {
    .ivu-select-input {
        top: 0 !important;
    }
    .ivu-tag {
        flex-shrink: 0;
    }
    .ivu-select-selection {
        &>div {
            display: flex;
            flex-wrap: wrap;
            .ivu-select-input {
                height: 30px !important;
                line-height: 32px !important;
            }
            .ivu-icon-ios-close {
                &::before {
                    font-size: 14px;
                }
            }
        }
    }
}

.ivu-btn.ivu-btn-text {
    color: #227fb5 !important;
    &:hover {
        color: #227fb5 !important;
    }
}

// 按钮禁用样式
.ivu-btn.ivu-btn-text.disabled,
.ivu-btn.ivu-btn-text[disabled] {
    color: #c5c8ce !important;
    &:hover {
        color: #c5c8ce !important;
        cursor: not-allowed !important;
    }
}

.ivu-btn-default,
.ivu-btn-primary {
    &:not(.ivu-btn-small):not(.ivu-btn-circle) {
        border-radius: 0 !important;
        padding: 4px 20px 6px !important
    }
}

// picker下按钮样式
.ivu-picker-confirm {
    .ivu-btn {}
}

// 弹窗底部footer样式
.footer {
    padding-top: 35px;
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 0 20px;
    &.left {
        justify-content: flex-start;
        padding-left: 30px;
    }
}

// .btnsr {
//     border-radius: 0 !important;
//     padding: 5px 30px 7px !important;
//     &:not(.ivu-btn-default) {
//         background: #2c66ab !important;
//     }
//     &:hover:not(.ivu-btn-default) {
//         background: #2c65abdc !important;
//     }
// }
.page-content {
    max-width: 1200px;
    width: 100%;
    margin: auto;
}

.ovh {
    overflow: hidden;
}

li {
    list-style-type: none;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    padding: 10px 0;
    margin-right: 10px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-button {}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    --webkit-box-shadow: inset 0 0 6px #dddbdb;
    background-color: #dddbdb;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 3px;
}

// 详情单子样式
.sub {
    .title {
        font-weight: bold;
        color: #323232;
        font-size: 14px;
    }
    &.model .message {
        background-color: #fff;
        padding: 0;
    }
    .message {
        background-color: #f3f3f3;
        padding: 10px;
        .msg {
            display: flex;
            font-size: 14px;
            .info {
                width: 25%;
            }
            &.three .info:not(:last-child) {
                flex-shrink: 0;
            }
            &.three {
                .info:last-child {
                    width: auto;
                }
            }
            &:not(:first-child) {
                margin-top: 20px;
            }
        }
    }
}

.sub.model {
    .ivu-radio-group {
        display: flex;
        gap: 0 30px;
        width: 100%;
        .models {
            width: 25%;
            flex-direction: column;
            display: flex;
            align-items: center;
            .table {
                display: flex;
                flex-wrap: wrap;
                .item {
                    width: 50%;
                    flex-shrink: 0;
                    border: 1px solid #a5a5a5;
                    text-indent: 1em;
                    line-height: 25px;
                    &.one {
                        width: 100%;
                    }
                    &.border {
                        &:nth-last-child(2) {
                            border-bottom: 1px solid #a5a5a5 !important;
                        }
                    }
                    &:last-child {
                        border-bottom: 1px solid #a5a5a5 !important;
                    }
                }
                .item:nth-child(2n) {
                    border-left: none;
                    border-bottom: none;
                }
                .item:nth-child(n) {
                    border-bottom: none;
                }
            }
        }
    }
}

#printMe {
    position: relative;
    .underline {
        text-decoration: underline;
    }
    .print-text {
        position: absolute;
        line-height: 1;
    }
    .bold {
        font-weight: bold;
    }
    .incline {
        font-style: italic;
    }
    .through {
        text-decoration: line-through;
    }
}

// 分页样式
.pagination {
    &.isBorderTop {
        border-top: none;
    }
    background: #f6f5f7 !important;
    border: 1px solid #e9e7ea;
    padding: 0 0 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    .left {
        font-size: 12px;
        color: #000;
    }
    // 分页样式
    .ivu-page {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        height: 100%;
        .ivu-page-item-jump-next {
            height: 100%;
            width: 34px;
            margin-right: 0;
            line-height: 38px;
            border-left: 1px solid #e9e7ea;
            background-color: $pageBgColor;
            border-radius: $borderBgRadios;
        }
        .ivu-page-item {
            background-color: $pageBgColor;
            border-radius: $borderBgRadios;
            border: none;
            border-left: 1px solid #e9e7ea;
            height: 100%;
            min-width: 34px;
            margin-right: 0;
            line-height: 38px;
            &.ivu-page-item-active {
                background-color: $pageAcBgColor;
                margin-right: 0;
                width: 34px;
                a {
                    color: $pageAcTextColor;
                }
            }
        }
        .ivu-page-next,
        .ivu-page-prev {
            margin-right: 0;
            line-height: 38px;
            width: 34px;
            border: none;
            border-left: 1px solid #e9e7ea;
            background-color: $pageCutColor;
            border-radius: $borderCutRadios;
            height: 100%;
        }
    }
}